//
//  TopicDetailHeaderView.m
//  Slice
//
//  Created by lanou on 16/6/19.
//  Copyright © 2016年 wangjinchao. All rights reserved.
//

#import "TopicDetailHeaderView.h"

@implementation TopicDetailHeaderView

+ (UIView *)getView {
    return [[[NSBundle mainBundle] loadNibNamed:@"TopicDetailHeaderView" owner:nil options:nil] lastObject];
}



- (void)awakeFromNib {
    
    self.personImgView.layer.cornerRadius = 25;
    
    self.personImgView.backgroundColor = [UIColor redColor];
    
    self.myWebView.backgroundColor = [UIColor blueColor];
    
    [self.myWebView loadHTMLString:@"" baseURL:nil];
    
    self.frame = CGRectMake(0, 0, kWidth, 334 + kWidth * 3 / 4);
}
//只看楼主
- (IBAction)onlySeeBuildingOwner:(id)sender {
}

//顺序浏览评论
- (IBAction)scanCommentBySort:(id)sender {
}

//热门评论
- (IBAction)hotComment:(id)sender {
}



- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}





/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
